﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Digitalmes.Model.EquipmentManagement;
using Digitalmes.Model;
namespace Digitalmes.ViewModel.EquipmentManagement.MaintenanceRecordVMs
{
    public partial class MaintenanceRecordSearcher : BaseSearcher
    {
        
        [Display(Name = "_Model._MaintenanceRecord._Plan")]
        public long? PlanId { get; set; }
        [Display(Name = "_Model._MaintenanceRecord._Equipment")]
        public long? EquipmentId { get; set; }
        [Display(Name = "_Model._MaintenanceRecord._Maintainer")]
        public string MaintainerId { get; set; }
        [Display(Name = "_Model._MaintenanceRecord._MaintenanceTime")]
        public DateRange MaintenanceTime { get; set; }
        [Display(Name = "_Model._MaintenanceRecord._FinishTime")]
        public DateRange FinishTime { get; set; }
        [Display(Name = "_Model._MaintenanceRecord._ActualHours")]
        public decimal? ActualHours { get; set; }
        [Display(Name = "_Model._MaintenanceRecord._Result")]
        public MaintenanceResultEnum? Result { get; set; }
        [Display(Name = "_Model._MaintenanceRecord._Note")]
        public string Note { get; set; }
        [Display(Name = "_Model._MaintenanceRecord._CreateTime")]
        public DateRange CreateTime { get; set; }
        [Display(Name = "_Model._MaintenanceRecord._UpdateTime")]
        public DateRange UpdateTime { get; set; }
        [Display(Name = "_Model._MaintenanceRecord._CreateBy")]
        public string CreateBy { get; set; }
        [Display(Name = "_Model._MaintenanceRecord._UpdateBy")]
        public string UpdateBy { get; set; }

        protected override void InitVM()
        {
            

        }
    }

}